package com.campus.common.service.impl;

import com.campus.common.domain.UserInfo;
import com.campus.common.mapper.UserInfoMapper;
import com.campus.common.service.UserInfoService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class UserInfoServiceImpl implements UserInfoService {
    @Resource
    private UserInfoMapper userInfoMapper;
    @Override
    public void changeOnlineStatus(Integer userId, Short onlineStatus) {
        userInfoMapper.changeOnlineStatus(userId, onlineStatus);
    }
}
